package com.ts.enterprise.module.user.query.update;


import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.Objects;

/**
 *
 * @author dean
 * @date 2021-07-14 16:14:40
 */
@Data
public class WorkerTagUpdateQuery {

    private Integer id;

    private Integer dictId;

    private String textInfo;

    private Date timeInfo;

    private String image;

    private String videoTitle;

    private String videoUrl;

    private String videoImage;

    private String desc;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        WorkerTagUpdateQuery that = (WorkerTagUpdateQuery) o;
        return Objects.equals(id, that.id) && Objects.equals(dictId, that.dictId) && Objects.equals(textInfo, that.textInfo) && Objects.equals(timeInfo, that.timeInfo) && Objects.equals(image, that.image) && Objects.equals(videoTitle, that.videoTitle) && Objects.equals(videoUrl, that.videoUrl) && Objects.equals(videoImage, that.videoImage) && Objects.equals(desc, that.desc);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, dictId, textInfo, timeInfo, image, videoTitle, videoUrl, videoImage, desc);
    }
}
